package com.gtw;

import com.gtw.bridge.*;

public class Client {

    public static void main(String[] args) {
        Implementor implementor1 = new ConcreteImplementor1();
        Abstraction abstraction1 = new RefinedAbstraction1(implementor1);
        abstraction1.request();

        Implementor implementor2 = new ConcreteImplementor2();
        Abstraction abstraction2 = new RefinedAbstraction2(implementor2);
        abstraction2.request();
    }
}
